var MongoDb = require("mongodb");
var client = new MongoDb.Db('test', new MongoDb.Server('127.0.0.1', MongoDb.Connection.DEFAULT_PORT), {w: 1});
client.open(function (err, db) {
    db.collection('plane').insert({test: '1111111'});
    db.close();
});